/*
*所有关于BOM类的业务代码接口应在此处编写
*/
using System.Linq.Expressions;
using VOL.Core.BaseProvider;
using VOL.Core.Utilities;
using VOL.Entity.DomainModels;
using VOL.Smartmanufacturing.DTO.Bom;
namespace VOL.Smartmanufacturing.IServices
{
    public partial interface IBOMService
    {
        /// <summary>
        /// 显示bom数据
        /// </summary> 
        /// <param name="getBomDto">查询分页参数</param>
        /// <returns></returns>
        Task<ApiPaging<BOM>> GetBom(GetBomDto getBomDto);


        /// <summary>
        /// 添加Bom
        /// </summary>
        /// <param name="bom"></param>
        /// <returns></returns>
        Task<int> AddBom(BOM bom);


        /// <summary>
        /// 删除Bom
        /// </summary>
        /// <param name="ids"></param>
        /// <returns></returns>
        Task<int> DelBom(string ids);

        /// <summary>
        /// 修改bom数据
        /// </summary>
        /// <param name="bom">bom实体</param>
        /// <returns></returns>
        Task<int> UpDateBom(BOM bom);


    }
 }
